<template>
    <div>
        <img src="../../public/c.jpg">
        <img :src="url" alt="">
        <img :src="src" alt="">
        <img src="http://127.0.0.1:4000/images/4fe8-1694574650296.jpeg" alt="">
        <h1>我是一个组件</h1>
        <h2>星光不负赶路人</h2>
        <h3>小魏是个好青年</h3>
    </div>
</template>

<script>
import abc from '../assets/a.jpg'
export default {
    data() {
        return {
            url: abc,
            src: require('../assets/e.jpg')
        }
    },
}
</script>

<style lang="scss" scoped></style>